<div ng-include="sys_html('common/head')"></div>
<link rel="stylesheet" href="../addons/jy_jdk/custom/templates/mobile/css/ydui.css?v=11" type="text/css">
<div class="g-flexview pages" id="page3">
    <!--用户信息-->
    <header class="userinfor dw">
        <div class="userinfor-left">
            <div class="userinfor-avatar">
            	
                <img src="{{pagedata.info.avatar}}" alt="{{pagedata.info.avatar}}">
             
            </div>
        </div>
        <div class="userinfor-center">
            <div class="userinfo-nickname" style="font-size: 16px; padding-bottom: 0px;">{{pagedata.info.nickname}}</div>
            <div ng-if="pagedata.info.type==1" class="userinfor-type">{{pagedata.info.levelname}}</div>
				<div ng-if="pagedata.info.type!=1" class="userinfor-type">普通用户</div>		
              
            <div  class="userinfor-invite"><span>邀请人：<span>{{pagedata.from_user_info.realname}} </span></span>
            
                <p>手机号码：<span>{{pagedata.info.mobile}}</span></p>
       
            </div>
               
        </div>
        <div class="userinfor-right" style="margin-bottom: 30px;">
        	
            <div ng-if="pagedata.info.type==1" class="userinfor-applyvip">
                <a ng-click="access_json('/beleader/')">申请盟主</a>
            </div>
			
			<div ng-if="pagedata.info.type==1"  class="userinfor-applyvip">
                <a>{{pagedata.info.pid}}</a>
            </div>
            
        </div>
    </header>
    <div class="m-grids-3 user-information">
        <a  ng-click="access_json('/log//type=1')" class="grids-item">
            <div class="grids-txt num"><span>{{pagedata.member.credit1 || 0}}&nbsp;</span></div>
            <div class="grids-txt"><span>累计积分</span></div>
        </a>
        <a ng-click="access_json('/log//type=3')"" class="grids-item">
            <div class="grids-txt num"><span>￥{{pagedata.member.sumsubsidy || 0}}</span></div>
            <div class="grids-txt"><span>累计补贴</span></div>
        </a>
        <a ng-click="access_json('/log//type=2')" class="grids-item">
            <div class="grids-txt num"><span>￥{{pagedata.member.credit2 || 0 }}&nbsp;</span></div>
            <div class="grids-txt"><span>累计佣金</span></div>
        </a>
    </div>
    <!--滚动区域-->
    <div class="g-scrollview">
        <div class="m-cell infor-list">
			
			<a ng-if="pagedata.info.type==0" class="cell-item" ng-click="access_json('/submitorder/')">
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-dingdan.png" alt="">
                	</span>提交订单</div>
                <div class="cell-right cell-arrow"></div>
            </a>
			
            <a class="cell-item" ng-click="access_json('/myorderlist/')">
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-dingdan.png" alt="">
                	</span>我的订单</div>
                <div class="cell-right cell-arrow"></div>
            </a>
    <!--        <a class="cell-item" ng-click="access_json('/mypartner/')">
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-card.png" alt="">
                    </span>我的伙伴</div>
                <div class="cell-right cell-arrow"></div>
            </a> 
			<a class="cell-item" ng-click="access_json('/grade/')">
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-grade.png" alt="">
                    </span>我的等级</div>
                <div class="cell-right cell-arrow"></div>
            </a>-->
            <a class="cell-item" ng-click="access_json('/estimated/')" >
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-icontuan.png" alt="">
                    </span>预估收入</div>
                <div class="cell-right cell-arrow"></div>
            </a>
        <!--    <a class="cell-item"  ng-click="access_json('/settlement/')" >
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/footer-icon-03.png" alt="">
                    </span>结算中心</div>
                <div class="cell-right cell-arrow"></div>
            </a> -->
     
            <a class="cell-item" href="javascript:popup('#popup-qrcode')">
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-code.png" alt="">
                    </span>推荐二维码</div>
                <div class="cell-right cell-arrow"></div>
            </a>
            <a class="cell-item" ng-click="access_json('/help/')">
                <div class="cell-left">
                	<span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-help.png" alt="">
                    </span>新手指引</div>
                <div class="cell-right cell-arrow"></div>
            </a>
            <!--
            <a class="cell-item" href="javascript:">
                <div class="cell-left"><span class="cell-icon"><img src="../addons/jy_jdk/custom/templates/mobile/img/iconfont-kefu.png" alt=""></span>联系客服</div>
                <div class="cell-right cell-arrow"></div>
            </a>
            -->
        </div>
    </div>
    
    <!--底部导航-->

</div>
<div class="leader-kb"></div>
<div class="popup" id="popup-qrcode" style="top:66%;background:none">
	<div id="wo_qrcode" style="padding:5px; background:#FFF;">
    <style>#wo_qrcode *{ width:100%;}</style>
    <img src="{{tomedia(pagedata.qr)}}"/>
	</div>
</div>
<div class="mask"></div>
<style type="text/css">
.grids-item:after{  border-bottom:medium none}
</style>
 <div ng-include="sys_html('_footer')"></div>  
<script type="text/javascript">

    function popup(str) {
        $(str).show();
        $('.mask').show();
    }
    function popuphide(str) {
        $(str).hide();
        $('.mask').hide();
    }
    $(function () {
        //获取当前页index并给导航赋值
        var pageIndex;
        pageIndex = 2;
        $('.m-tabbar a').eq(pageIndex).addClass('tabbar-active');
        //点击遮罩关闭弹出层
        $('.mask').click(function () {
            $(this).hide();
            $('.popup').hide();
        });
    });
</script>
